<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Starshatter_Open: ColorFormat Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Starshatter_Open
   </div>
   <div id="projectbrief">Open source Starshatter engine</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('struct_color_format.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">ColorFormat Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_color_8h_source.html">Color.h</a>&gt;</code></p>

<p><a href="struct_color_format-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a20e0df5985cf9893a8ddc64c77148ace"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color_format.html#a20e0df5985cf9893a8ddc64c77148ace">ColorFormat</a> (int palsize)</td></tr>
<tr class="memitem:ac36c70755a42be5f45692ae2f2a39c63"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color_format.html#ac36c70755a42be5f45692ae2f2a39c63">ColorFormat</a> (int size, BYTE r, BYTE rs, BYTE g, BYTE gs, BYTE b, BYTE bs, BYTE a=0, BYTE as=0)</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a66968d521f36734dfd69382a7a8bfcb9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color_format.html#a66968d521f36734dfd69382a7a8bfcb9">pal</a></td></tr>
<tr class="memitem:a7b5d4a8bfca1c866309dc070e8d88b3c"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color_format.html#a7b5d4a8bfca1c866309dc070e8d88b3c">bpp</a></td></tr>
<tr class="memitem:ae3313787012b7efa94d0740652c72b8b"><td class="memItemLeft" align="right" valign="top">BYTE&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color_format.html#ae3313787012b7efa94d0740652c72b8b">rdown</a></td></tr>
<tr class="memitem:abf85ea277eff2ce56e45680afb2747a7"><td class="memItemLeft" align="right" valign="top">BYTE&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color_format.html#abf85ea277eff2ce56e45680afb2747a7">rshift</a></td></tr>
<tr class="memitem:aeafd1957d7cd3f51e6e82244049d0113"><td class="memItemLeft" align="right" valign="top">BYTE&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color_format.html#aeafd1957d7cd3f51e6e82244049d0113">gdown</a></td></tr>
<tr class="memitem:af8bd110b9181227aa6b096ec567e312d"><td class="memItemLeft" align="right" valign="top">BYTE&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color_format.html#af8bd110b9181227aa6b096ec567e312d">gshift</a></td></tr>
<tr class="memitem:a925e1027039c7db84e4bedc3f03150bb"><td class="memItemLeft" align="right" valign="top">BYTE&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color_format.html#a925e1027039c7db84e4bedc3f03150bb">bdown</a></td></tr>
<tr class="memitem:ae697a40e2509a40f901d2ca36b093814"><td class="memItemLeft" align="right" valign="top">BYTE&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color_format.html#ae697a40e2509a40f901d2ca36b093814">bshift</a></td></tr>
<tr class="memitem:acc92262fb85ae10bcf04f5f359f1ac07"><td class="memItemLeft" align="right" valign="top">BYTE&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color_format.html#acc92262fb85ae10bcf04f5f359f1ac07">adown</a></td></tr>
<tr class="memitem:a5c079497ddd4b3e44249ad089372765e"><td class="memItemLeft" align="right" valign="top">BYTE&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color_format.html#a5c079497ddd4b3e44249ad089372765e">ashift</a></td></tr>
<tr class="memitem:aea57942221b746b26ba12aca9b502351"><td class="memItemLeft" align="right" valign="top">DWORD&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color_format.html#aea57942221b746b26ba12aca9b502351">rmask</a></td></tr>
<tr class="memitem:a9fe4a7d3c0a74208d1571c4ab64a9082"><td class="memItemLeft" align="right" valign="top">DWORD&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color_format.html#a9fe4a7d3c0a74208d1571c4ab64a9082">gmask</a></td></tr>
<tr class="memitem:a09c19675fb8422280a4cb8d7bda9a62d"><td class="memItemLeft" align="right" valign="top">DWORD&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color_format.html#a09c19675fb8422280a4cb8d7bda9a62d">bmask</a></td></tr>
<tr class="memitem:a783c0aceae35434bf109f105706435c5"><td class="memItemLeft" align="right" valign="top">DWORD&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_color_format.html#a783c0aceae35434bf109f105706435c5">amask</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_color_8h_source.html#l00026">26</a> of file <a class="el" href="_color_8h_source.html">Color.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a20e0df5985cf9893a8ddc64c77148ace"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ColorFormat::ColorFormat </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>palsize</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_color_8h_source.html#l00028">28</a> of file <a class="el" href="_color_8h_source.html">Color.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac36c70755a42be5f45692ae2f2a39c63"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ColorFormat::ColorFormat </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BYTE&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BYTE&#160;</td>
          <td class="paramname"><em>rs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BYTE&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BYTE&#160;</td>
          <td class="paramname"><em>gs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BYTE&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BYTE&#160;</td>
          <td class="paramname"><em>bs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BYTE&#160;</td>
          <td class="paramname"><em>a</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BYTE&#160;</td>
          <td class="paramname"><em>as</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_color_8h_source.html#l00035">35</a> of file <a class="el" href="_color_8h_source.html">Color.h</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="acc92262fb85ae10bcf04f5f359f1ac07"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BYTE ColorFormat::adown</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_color_8h_source.html#l00047">47</a> of file <a class="el" href="_color_8h_source.html">Color.h</a>.</p>

</div>
</div>
<a class="anchor" id="a783c0aceae35434bf109f105706435c5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DWORD ColorFormat::amask</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_color_8h_source.html#l00052">52</a> of file <a class="el" href="_color_8h_source.html">Color.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5c079497ddd4b3e44249ad089372765e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BYTE ColorFormat::ashift</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_color_8h_source.html#l00047">47</a> of file <a class="el" href="_color_8h_source.html">Color.h</a>.</p>

</div>
</div>
<a class="anchor" id="a925e1027039c7db84e4bedc3f03150bb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BYTE ColorFormat::bdown</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_color_8h_source.html#l00046">46</a> of file <a class="el" href="_color_8h_source.html">Color.h</a>.</p>

</div>
</div>
<a class="anchor" id="a09c19675fb8422280a4cb8d7bda9a62d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DWORD ColorFormat::bmask</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_color_8h_source.html#l00051">51</a> of file <a class="el" href="_color_8h_source.html">Color.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7b5d4a8bfca1c866309dc070e8d88b3c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ColorFormat::bpp</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_color_8h_source.html#l00043">43</a> of file <a class="el" href="_color_8h_source.html">Color.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae697a40e2509a40f901d2ca36b093814"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BYTE ColorFormat::bshift</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_color_8h_source.html#l00046">46</a> of file <a class="el" href="_color_8h_source.html">Color.h</a>.</p>

</div>
</div>
<a class="anchor" id="aeafd1957d7cd3f51e6e82244049d0113"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BYTE ColorFormat::gdown</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_color_8h_source.html#l00045">45</a> of file <a class="el" href="_color_8h_source.html">Color.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9fe4a7d3c0a74208d1571c4ab64a9082"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DWORD ColorFormat::gmask</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_color_8h_source.html#l00050">50</a> of file <a class="el" href="_color_8h_source.html">Color.h</a>.</p>

</div>
</div>
<a class="anchor" id="af8bd110b9181227aa6b096ec567e312d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BYTE ColorFormat::gshift</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_color_8h_source.html#l00045">45</a> of file <a class="el" href="_color_8h_source.html">Color.h</a>.</p>

</div>
</div>
<a class="anchor" id="a66968d521f36734dfd69382a7a8bfcb9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ColorFormat::pal</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_color_8h_source.html#l00042">42</a> of file <a class="el" href="_color_8h_source.html">Color.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae3313787012b7efa94d0740652c72b8b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BYTE ColorFormat::rdown</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_color_8h_source.html#l00044">44</a> of file <a class="el" href="_color_8h_source.html">Color.h</a>.</p>

</div>
</div>
<a class="anchor" id="aea57942221b746b26ba12aca9b502351"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DWORD ColorFormat::rmask</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_color_8h_source.html#l00049">49</a> of file <a class="el" href="_color_8h_source.html">Color.h</a>.</p>

</div>
</div>
<a class="anchor" id="abf85ea277eff2ce56e45680afb2747a7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BYTE ColorFormat::rshift</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_color_8h_source.html#l00044">44</a> of file <a class="el" href="_color_8h_source.html">Color.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>D:/SRC/StarshatterSVN/nGenEx/<a class="el" href="_color_8h_source.html">Color.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="struct_color_format.html">ColorFormat</a></li>
    <li class="footer">Generated on Tue Jun 5 2012 20:47:49 for Starshatter_Open by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1 </li>
  </ul>
</div>
</body>
</html>
